<gm:page title="miscSample2" authenticate="true">
  <style type="text/css">
    th, td
      {
        text-align:center;
        width: 150px;
      }
  </style>  <gm:list data="${user}/favoriteMusic" template="musicItems" />
  <gm:template id="musicItems">
    <h1 style="text-align:center">Music listing</h1>
    <table align="center">
      <tr>
        <th>Favorite</th>
        <th>Song name</th>
        <th>Rating</th>
      </tr>
      <tr repeat="true">
        <td><gm:checkbox ref="gd:favorite" /></td>
        <td><gm:text ref="atom:title" /></td>
        <td><gm:rating ref="gd:rating" /></td>
        <td><gm:editButtons deleteOnly="true" /></td>
      </tr>
    </table>
    <p></p>
    <div style="text-align:center">
      <gm:create label="New listing" />
    </div>
  </gm:template>
</gm:page>